package com.pencilisland.pay.api.bean.wxpay;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonProperty;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="xml")
public class WxpayAppSubmitReq {
	/**
	 * 应用ID
	 */
	@JsonProperty("appid")
	@XmlElement(name = "appid")
	private String appId;
	/**
	 * 商户号
	 */
	@JsonProperty("partnerid")
	@XmlElement(name = "partnerid")
	private String partnerId;
	/**
	 * 随机字符串
	 */
	@JsonProperty("nonce_str")
	@XmlElement(name = "noncestr")
	private String nonceStr;
	/**
	 * 签名
	 */
	@JsonProperty("sign")
	@XmlElement(name = "sign")
	private String sign;

	/**
	 * 扩展字段
	 */
	@JsonProperty("package")
	@XmlElement(name = "package")
	private String packageStr;

	/**
	 * 时间戳
	 */
	@JsonProperty("timestamp")
	@XmlElement(name = "timestamp")
	private String timeStamp;

	/**
	 * 预支付交易会话标识
	 */
	@JsonProperty("prepay_id")
	@XmlElement(name = "prepayid")
	private String prepayId;
	
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getPackageStr() {
		return packageStr;
	}

	public void setPackageStr(String packageStr) {
		this.packageStr = packageStr;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

}
